home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / winsock / ircii2-6.zip / SCRIPTS\NICKS < prev    next >
Text File  |  1994-12-28  |  312b  |  23 lines

  1. # This lets you assign aliases for peoples nicknames.
  2. # For example, of you do: /ASSIGN BC BigCheese
  3. # Then you can do: /MSG BC Hi there!
  4.  
  5. alias msg {
  6.     if ( [$($0)] )
  7.     {
  8.         ${K}${K}msg $($0) $1-
  9.     }
  10.     {
  11.         ${K}${K}msg $0 $1-
  12.     }
  13. }
  14. alias query {
  15.     if ( [$($0)] )
  16.     {
  17.         ${K}${K}query $($0)
  18.     }
  19.     {
  20.         ${K}${K}query $0-
  21.     }
  22. }
  23.